Optimal. Leaf size=701 \[ \frac {2 c \left (128 c^2 d^3-4 c d e (44 b d-29 a e)+3 b e^2 (17 b d-16 a e)+e \left (32 c^2 d^2+3 b^2 e^2-4 c e (8 b d-5 a e)\right ) x\right ) \sqrt {a+b x+c x^2}}{15 e^4 \left (c d^2-b d e+a e^2\right ) \sqrt {d+e x}}-\frac {2 \left (16 c^2 d^3+3 a b e^3-c d e (13 b d-4 a e)+e \left (22 c^2 d^2+3 b^2 e^2-2 c e (11 b d-5 a e)\right ) x\right ) \left (a+b x+c x^2\right )^{3/2}}{15 e^2 \left (c d^2-b d e+a e^2\right ) (d+e x)^{5/2}}-\frac {\sqrt {2} \sqrt {b^2-4 a c} (2 c d-b e) \left (128 c^2 d^2+3 b^2 e^2-4 c e (32 b d-29 a e)\right ) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{15 e^5 \left (c d^2-b d e+a e^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {a+b x+c x^2}}+\frac {4 \sqrt {2} \sqrt {b^2-4 a c} \left (128 c^2 d^2+27 b^2 e^2-4 c e (32 b d-5 a e)\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{15 e^5 \sqrt {d+e x} \sqrt {a+b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.51, antiderivative size = 701, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {824, 826, 857,
732, 435, 430} \begin {gather*} \frac {4 \sqrt {2} \sqrt {b^2-4 a c} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} \left (-4 c e (32 b d-5 a e)+27 b^2 e^2+128 c^2 d^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}} F\left (\text {ArcSin}\left (\frac {\sqrt {\frac {b+2 c x+\sqrt {b^2-4 a c}}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{15 e^5 \sqrt {d+e x} \sqrt {a+b x+c x^2}}-\frac {\sqrt {2} \sqrt {b^2-4 a c} \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 c d-b e) \left (-4 c e (32 b d-29 a e)+3 b^2 e^2+128 c^2 d^2\right ) E\left (\text {ArcSin}\left (\frac {\sqrt {\frac {b+2 c x+\sqrt {b^2-4 a c}}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{15 e^5 \sqrt {a+b x+c x^2} \left (a e^2-b d e+c d^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-e \left (\sqrt {b^2-4 a c}+b\right )}}}+\frac {2 c \sqrt {a+b x+c x^2} \left (e x \left (-4 c e (8 b d-5 a e)+3 b^2 e^2+32 c^2 d^2\right )-4 c d e (44 b d-29 a e)+3 b e^2 (17 b d-16 a e)+128 c^2 d^3\right )}{15 e^4 \sqrt {d+e x} \left (a e^2-b d e+c d^2\right )}-\frac {2 \left (a+b x+c x^2\right )^{3/2} \left (e x \left (-2 c e (11 b d-5 a e)+3 b^2 e^2+22 c^2 d^2\right )-c d e (13 b d-4 a e)+3 a b e^3+16 c^2 d^3\right )}{15 e^2 (d+e x)^{5/2} \left (a e^2-b d e+c d^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 430
Rule 435
Rule 732
Rule 824
Rule 826
Rule 857
Rubi steps
\begin {align*} \int \frac {(b+2 c x) \left (a+b x+c x^2\right )^{3/2}}{(d+e x)^{7/2}} \, dx &=-\frac {2 \left (16 c^2 d^3+3 a b e^3-c d e (13 b d-4 a e)+e \left (22 c^2 d^2+3 b^2 e^2-2 c e (11 b d-5 a e)\right ) x\right ) \left (a+b x+c x^2\right )^{3/2}}{15 e^2 \left (c d^2-b d e+a e^2\right ) (d+e x)^{5/2}}-\frac {2 \int \frac {\left (-\frac {1}{2} c \left (16 b c d^2-13 b^2 d e-12 a c d e+16 a b e^2\right )-\frac {1}{2} c \left (32 c^2 d^2+3 b^2 e^2-4 c e (8 b d-5 a e)\right ) x\right ) \sqrt {a+b x+c x^2}}{(d+e x)^{3/2}} \, dx}{5 e^2 \left (c d^2-b d e+a e^2\right )}\\ &=\frac {2 c \left (128 c^2 d^3-4 c d e (44 b d-29 a e)+3 b e^2 (17 b d-16 a e)+e \left (32 c^2 d^2+3 b^2 e^2-4 c e (8 b d-5 a e)\right ) x\right ) \sqrt {a+b x+c x^2}}{15 e^4 \left (c d^2-b d e+a e^2\right ) \sqrt {d+e x}}-\frac {2 \left (16 c^2 d^3+3 a b e^3-c d e (13 b d-4 a e)+e \left (22 c^2 d^2+3 b^2 e^2-2 c e (11 b d-5 a e)\right ) x\right ) \left (a+b x+c x^2\right )^{3/2}}{15 e^2 \left (c d^2-b d e+a e^2\right ) (d+e x)^{5/2}}+\frac {4 \int \frac {-\frac {1}{4} c \left (51 b^3 d e^2-8 a c e \left (8 c d^2+5 a e^2\right )+4 b c d \left (32 c d^2+45 a e^2\right )-2 b^2 \left (88 c d^2 e+27 a e^3\right )\right )-\frac {1}{4} c (2 c d-b e) \left (128 c^2 d^2+3 b^2 e^2-4 c e (32 b d-29 a e)\right ) x}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx}{15 e^4 \left (c d^2-b d e+a e^2\right )}\\ &=\frac {2 c \left (128 c^2 d^3-4 c d e (44 b d-29 a e)+3 b e^2 (17 b d-16 a e)+e \left (32 c^2 d^2+3 b^2 e^2-4 c e (8 b d-5 a e)\right ) x\right ) \sqrt {a+b x+c x^2}}{15 e^4 \left (c d^2-b d e+a e^2\right ) \sqrt {d+e x}}-\frac {2 \left (16 c^2 d^3+3 a b e^3-c d e (13 b d-4 a e)+e \left (22 c^2 d^2+3 b^2 e^2-2 c e (11 b d-5 a e)\right ) x\right ) \left (a+b x+c x^2\right )^{3/2}}{15 e^2 \left (c d^2-b d e+a e^2\right ) (d+e x)^{5/2}}-\frac {\left (c (2 c d-b e) \left (128 c^2 d^2+3 b^2 e^2-4 c e (32 b d-29 a e)\right )\right ) \int \frac {\sqrt {d+e x}}{\sqrt {a+b x+c x^2}} \, dx}{15 e^5 \left (c d^2-b d e+a e^2\right )}+\frac {\left (2 c \left (128 c^2 d^2+27 b^2 e^2-4 c e (32 b d-5 a e)\right )\right ) \int \frac {1}{\sqrt {d+e x} \sqrt {a+b x+c x^2}} \, dx}{15 e^5}\\ &=\frac {2 c \left (128 c^2 d^3-4 c d e (44 b d-29 a e)+3 b e^2 (17 b d-16 a e)+e \left (32 c^2 d^2+3 b^2 e^2-4 c e (8 b d-5 a e)\right ) x\right ) \sqrt {a+b x+c x^2}}{15 e^4 \left (c d^2-b d e+a e^2\right ) \sqrt {d+e x}}-\frac {2 \left (16 c^2 d^3+3 a b e^3-c d e (13 b d-4 a e)+e \left (22 c^2 d^2+3 b^2 e^2-2 c e (11 b d-5 a e)\right ) x\right ) \left (a+b x+c x^2\right )^{3/2}}{15 e^2 \left (c d^2-b d e+a e^2\right ) (d+e x)^{5/2}}-\frac {\left (\sqrt {2} \sqrt {b^2-4 a c} (2 c d-b e) \left (128 c^2 d^2+3 b^2 e^2-4 c e (32 b d-29 a e)\right ) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {2 \sqrt {b^2-4 a c} e x^2}{2 c d-b e-\sqrt {b^2-4 a c} e}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )}{15 e^5 \left (c d^2-b d e+a e^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-b e-\sqrt {b^2-4 a c} e}} \sqrt {a+b x+c x^2}}+\frac {\left (4 \sqrt {2} \sqrt {b^2-4 a c} \left (128 c^2 d^2+27 b^2 e^2-4 c e (32 b d-5 a e)\right ) \sqrt {\frac {c (d+e x)}{2 c d-b e-\sqrt {b^2-4 a c} e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+\frac {2 \sqrt {b^2-4 a c} e x^2}{2 c d-b e-\sqrt {b^2-4 a c} e}}} \, dx,x,\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )}{15 e^5 \sqrt {d+e x} \sqrt {a+b x+c x^2}}\\ &=\frac {2 c \left (128 c^2 d^3-4 c d e (44 b d-29 a e)+3 b e^2 (17 b d-16 a e)+e \left (32 c^2 d^2+3 b^2 e^2-4 c e (8 b d-5 a e)\right ) x\right ) \sqrt {a+b x+c x^2}}{15 e^4 \left (c d^2-b d e+a e^2\right ) \sqrt {d+e x}}-\frac {2 \left (16 c^2 d^3+3 a b e^3-c d e (13 b d-4 a e)+e \left (22 c^2 d^2+3 b^2 e^2-2 c e (11 b d-5 a e)\right ) x\right ) \left (a+b x+c x^2\right )^{3/2}}{15 e^2 \left (c d^2-b d e+a e^2\right ) (d+e x)^{5/2}}-\frac {\sqrt {2} \sqrt {b^2-4 a c} (2 c d-b e) \left (128 c^2 d^2+3 b^2 e^2-4 c e (32 b d-29 a e)\right ) \sqrt {d+e x} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{15 e^5 \left (c d^2-b d e+a e^2\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {a+b x+c x^2}}+\frac {4 \sqrt {2} \sqrt {b^2-4 a c} \left (128 c^2 d^2+27 b^2 e^2-4 c e (32 b d-5 a e)\right ) \sqrt {\frac {c (d+e x)}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}} \sqrt {-\frac {c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac {\sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x}{\sqrt {b^2-4 a c}}}}{\sqrt {2}}\right )|-\frac {2 \sqrt {b^2-4 a c} e}{2 c d-\left (b+\sqrt {b^2-4 a c}\right ) e}\right )}{15 e^5 \sqrt {d+e x} \sqrt {a+b x+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 16.49, size = 5450, normalized size = 7.77 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(19269\) vs.
\(2(637)=1274\).
time = 1.04, size = 19270, normalized size = 27.49
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(1427\) |
risch | \(\text {Expression too large to display}\) | \(4808\) |
default | \(\text {Expression too large to display}\) | \(19270\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.96, size = 1380, normalized size = 1.97 \begin {gather*} \frac {2 \, {\left ({\left (256 \, c^{4} d^{7} - {\left (3 \, b^{4} - 46 \, a b^{2} c - 120 \, a^{2} c^{2}\right )} x^{3} e^{7} - {\left (2 \, {\left (11 \, b^{3} c + 212 \, a b c^{2}\right )} d x^{3} + 3 \, {\left (3 \, b^{4} - 46 \, a b^{2} c - 120 \, a^{2} c^{2}\right )} d x^{2}\right )} e^{6} + {\left (2 \, {\left (139 \, b^{2} c^{2} + 212 \, a c^{3}\right )} d^{2} x^{3} - 6 \, {\left (11 \, b^{3} c + 212 \, a b c^{2}\right )} d^{2} x^{2} - 3 \, {\left (3 \, b^{4} - 46 \, a b^{2} c - 120 \, a^{2} c^{2}\right )} d^{2} x\right )} e^{5} - {\left (512 \, b c^{3} d^{3} x^{3} - 6 \, {\left (139 \, b^{2} c^{2} + 212 \, a c^{3}\right )} d^{3} x^{2} + 6 \, {\left (11 \, b^{3} c + 212 \, a b c^{2}\right )} d^{3} x + {\left (3 \, b^{4} - 46 \, a b^{2} c - 120 \, a^{2} c^{2}\right )} d^{3}\right )} e^{4} + 2 \, {\left (128 \, c^{4} d^{4} x^{3} - 768 \, b c^{3} d^{4} x^{2} + 3 \, {\left (139 \, b^{2} c^{2} + 212 \, a c^{3}\right )} d^{4} x - {\left (11 \, b^{3} c + 212 \, a b c^{2}\right )} d^{4}\right )} e^{3} + 2 \, {\left (384 \, c^{4} d^{5} x^{2} - 768 \, b c^{3} d^{5} x + {\left (139 \, b^{2} c^{2} + 212 \, a c^{3}\right )} d^{5}\right )} e^{2} + 256 \, {\left (3 \, c^{4} d^{6} x - 2 \, b c^{3} d^{6}\right )} e\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right ) + 3 \, {\left (256 \, c^{4} d^{6} e - {\left (3 \, b^{3} c + 116 \, a b c^{2}\right )} x^{3} e^{7} + {\left (2 \, {\left (67 \, b^{2} c^{2} + 116 \, a c^{3}\right )} d x^{3} - 3 \, {\left (3 \, b^{3} c + 116 \, a b c^{2}\right )} d x^{2}\right )} e^{6} - 3 \, {\left (128 \, b c^{3} d^{2} x^{3} - 2 \, {\left (67 \, b^{2} c^{2} + 116 \, a c^{3}\right )} d^{2} x^{2} + {\left (3 \, b^{3} c + 116 \, a b c^{2}\right )} d^{2} x\right )} e^{5} + {\left (256 \, c^{4} d^{3} x^{3} - 1152 \, b c^{3} d^{3} x^{2} + 6 \, {\left (67 \, b^{2} c^{2} + 116 \, a c^{3}\right )} d^{3} x - {\left (3 \, b^{3} c + 116 \, a b c^{2}\right )} d^{3}\right )} e^{4} + 2 \, {\left (384 \, c^{4} d^{4} x^{2} - 576 \, b c^{3} d^{4} x + {\left (67 \, b^{2} c^{2} + 116 \, a c^{3}\right )} d^{4}\right )} e^{3} + 384 \, {\left (2 \, c^{4} d^{5} x - b c^{3} d^{5}\right )} e^{2}\right )} \sqrt {c} e^{\frac {1}{2}} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c^{2} d^{2} - b c d e + {\left (b^{2} - 3 \, a c\right )} e^{2}\right )} e^{\left (-2\right )}}{3 \, c^{2}}, -\frac {4 \, {\left (2 \, c^{3} d^{3} - 3 \, b c^{2} d^{2} e - 3 \, {\left (b^{2} c - 6 \, a c^{2}\right )} d e^{2} + {\left (2 \, b^{3} - 9 \, a b c\right )} e^{3}\right )} e^{\left (-3\right )}}{27 \, c^{3}}, \frac {{\left (c d + {\left (3 \, c x + b\right )} e\right )} e^{\left (-1\right )}}{3 \, c}\right )\right ) + 3 \, {\left (128 \, c^{4} d^{5} e^{2} + {\left (10 \, a c^{3} x^{3} - 3 \, a^{2} b c - {\left (3 \, b^{3} c + 61 \, a b c^{2}\right )} x^{2} - 2 \, {\left (3 \, a b^{2} c + 5 \, a^{2} c^{2}\right )} x\right )} e^{7} - {\left (10 \, b c^{3} d x^{3} + 78 \, a b c^{2} d x + 4 \, a^{2} c^{2} d - {\left (79 \, b^{2} c^{2} + 152 \, a c^{3}\right )} d x^{2}\right )} e^{6} + {\left (10 \, c^{4} d^{2} x^{3} - 249 \, b c^{3} d^{2} x^{2} - 35 \, a b c^{2} d^{2} + 2 \, {\left (59 \, b^{2} c^{2} + 115 \, a c^{3}\right )} d^{2} x\right )} e^{5} + {\left (176 \, c^{4} d^{3} x^{2} - 400 \, b c^{3} d^{3} x + {\left (51 \, b^{2} c^{2} + 100 \, a c^{3}\right )} d^{3}\right )} e^{4} + 16 \, {\left (18 \, c^{4} d^{4} x - 11 \, b c^{3} d^{4}\right )} e^{3}\right )} \sqrt {c x^{2} + b x + a} \sqrt {x e + d}\right )}}{45 \, {\left (c^{2} d^{5} e^{6} + a c x^{3} e^{11} - {\left (b c d x^{3} - 3 \, a c d x^{2}\right )} e^{10} + {\left (c^{2} d^{2} x^{3} - 3 \, b c d^{2} x^{2} + 3 \, a c d^{2} x\right )} e^{9} + {\left (3 \, c^{2} d^{3} x^{2} - 3 \, b c d^{3} x + a c d^{3}\right )} e^{8} + {\left (3 \, c^{2} d^{4} x - b c d^{4}\right )} e^{7}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (b + 2 c x\right ) \left (a + b x + c x^{2}\right )^{\frac {3}{2}}}{\left (d + e x\right )^{\frac {7}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (b+2\,c\,x\right )\,{\left (c\,x^2+b\,x+a\right )}^{3/2}}{{\left (d+e\,x\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________